/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const courseRouter = {
  path: '/course',
  component: Layout,
  redirect: '',
  name: 'Courseship',
  meta: {
    title: 'Courseship',
    icon: 'course'
  },
  children: [
    // activeMenu
    {
      path: 'courseroll',
      component: () => import('@/views/course/courseroll'),
      name: 'courseroll',
      meta: {
        title: 'courseroll'
      }
    },
    {
      path: 'courseBoutique',
      component: () => import('@/views/course/courseBoutique'),
      name: 'courseBoutique',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'coursePersonal',
      component: () => import('@/views/course/coursePersonal'),
      name: 'coursePersonal',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseTeam',
      component: () => import('@/views/course/courseTeam'),
      name: 'courseTeam',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseEdit1',
      component: () => import('@/views/course/courseEdit1'),
      name: 'courseEdit1',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseEdit2',
      component: () => import('@/views/course/courseEdit2'),
      name: 'courseEdit2',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseEdit3',
      component: () => import('@/views/course/courseEdit3'),
      name: 'courseEdit3',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseTeamEdit',
      component: () => import('@/views/course/courseTeamEdit'),
      name: 'courseTeamEdit',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseAdd',
      component: () => import('@/views/course/courseAdd'),
      name: 'courseAdd',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseTeamAdd',
      component: () => import('@/views/course/courseTeamAdd'),
      name: 'courseTeamAdd',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseParticulars',
      component: () => import('@/views/course/courseParticulars'),
      name: 'courseParticulars',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    },
    {
      path: 'courseTeamParticulars',
      component: () => import('@/views/course/courseTeamParticulars'),
      name: 'courseTeamParticulars',
      hidden: true,
      meta: {
        title: 'courseroll',
        activeMenu: '/course/courseroll'
      }
    }, {
      path: 'courseSurface',
      component: () => import('@/views/course/courseSurface'),
      name: 'courseSurface',
      meta: {
        title: 'courseSurface'
      }
    }, {
      path: 'courseSurfaceClass',
      component: () => import('@/views/course/courseSurfaceClass'),
      name: 'courseSurfaceClass',
      hidden: true,
      meta: {
        title: 'courseSurface',
        activeMenu: '/course/courseSurface'
      }
    },
    {
      path: 'coachFee',
      component: () => import('@/views/course/coachFee'),
      name: 'coachFee',
      meta: {
        title: 'coachFee'
      }
    },
    {
      path: 'coachFeeForQuality',
      component: () => import('@/views/course/coachFeeForQuality'),
      name: 'coachFeeForQuality',
      hidden: true,
      meta: {
        title: 'coachFee',
        activeMenu: '/course/coachFee'
      }
    },
    {
      path: 'coachFeePersonalTrainers',
      component: () => import('@/views/course/coachFeePersonalTrainers'),
      name: 'coachFeePersonalTrainers',
      hidden: true,
      meta: {
        title: 'coachFee',
        activeMenu: '/course/coachFee'
      }
    },
    {
      path: 'courseEvaluate',
      component: () => import('@/views/course/courseEvaluate'),
      name: 'courseEvaluate',
      meta: {
        title: 'courseEvaluate'
      }
    },
    {
      path: 'classPrivateList',
      component: () => import('@/views/course/classPrivateList'),
      name: 'classPrivateList',
      meta: {
        title: 'classPrivateList'
      }
    },
    {
      path: 'classPrivateAdd',
      component: () => import('@/views/course/classPrivateAdd'),
      name: 'classPrivateAdd',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    },
    {
      path: 'classPrivateEdit',
      component: () => import('@/views/course/classPrivateEdit'),
      name: 'classPrivateEdit',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    },
    {
      path: 'privateParticulars',
      component: () => import('@/views/course/privateParticulars'),
      name: 'privateParticulars',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    },
    {
      path: 'classMember',
      component: () => import('@/views/course/classMember'),
      name: 'classMember',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    },
    {
      path: 'classMemberInfo',
      component: () => import('@/views/course/classMemberInfo'),
      name: 'classMemberInfo',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    },
    {
      path: 'classMemberImport',
      component: () => import('@/views/course/classMemberImport'),
      name: 'classMemberImport',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    },
    {
      path: 'classPrivateData',
      component: () => import('@/views/course/classPrivateData'),
      name: 'classPrivateData',
      hidden: true,
      meta: {
        title: 'classPrivateList',
        activeMenu: '/course/classPrivateList'
      }
    }
  ]
}
export default courseRouter
